package com.tuo51.evaluate.vo.children;

import com.tuo51.evaluate.domain.childrens.ChildrenExtendInfo;
import com.tuo51.foudation.utils.CopyUtils;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class ChildrenExtendInfoVO {

//    private String id;

    private String childrenName;

//    private String childrenId;

    private Date notifyEvaluateDate;

    private String guardianPhone;

    private String guardianName;

    private String guardianRelation;

    private String address;

    private String householdType;

    private String identityCard;

    private String goodLanguageDesc;


    public static ChildrenExtendInfoVO of(ChildrenExtendInfo extendInfo){
        ChildrenExtendInfoVO info = new ChildrenExtendInfoVO();

        CopyUtils.copyProperties(extendInfo, info);

        return info;
    }
}
